package com.lwy.qiuchao.vending;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@SpringBootApplication
@EnableFeignClients("com.lwy.qiuchao.vending.feign")
@MapperScan("com.lwy.qiuchao.vending.dao")
@EnableDiscoveryClient
public class QiuchaoVendingApplication {

	public static void main(String[] args) {
		SpringApplication.run(QiuchaoVendingApplication.class, args);
	}

}
